package com.zju.DoctorGo.mapper;

import com.zju.DoctorGo.dto.ScheduleFilterDTO;
import com.zju.DoctorGo.entity.Schedule;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScheduleMapper extends BaseMapper<Schedule> {

    List<Schedule> selectByFilter(@Param("filter") ScheduleFilterDTO filter);

    void deleteByFilter(@Param("filter") ScheduleFilterDTO filter);
}
